package com.tsing.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tsing.wms.entity.StorehouseEntity;
import com.tsing.wms.vo.PageResultVO;
import com.tsing.wms.vo.req.IdReqVO;
import com.tsing.wms.vo.req.IdsReqVO;
import com.tsing.wms.vo.req.StoreReqVO;
import com.tsing.wms.vo.req.SupplierPageReqVO;
import com.tsing.wms.vo.resp.StoreRespVO;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 仓库表 服务类
 * </p>
 *
 * @author TheTsing
 * @since 2022-04-13
 */
public interface IStorehouseService extends IService<StorehouseEntity> {

    void addStore(StoreReqVO reqVO, HttpServletRequest request);

    void deleteStore(IdsReqVO reqVO, HttpServletRequest request);

    StoreRespVO getStore(IdReqVO reqVO);

    void updateStore(StoreReqVO reqVO, HttpServletRequest request);

    PageResultVO<StoreRespVO> storePage(SupplierPageReqVO reqVO);

}
